import type { GoodsResult } from "@/types/goodDetail";
import http from "@/utils/http";

export const getGoodDetail = (id: string) => {
    return http<GoodsResult>({
        method: 'GET',
        url: `/goods?id`,
        data: { id }
    })
}
